﻿<UserControl x:Class="OnlineVideos.Views.RatingPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
               xmlns:inputtoolkit="clr-namespace:MarkHeath.StarRating;assembly=MarkHeath.StarRating"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
     xmlns:wb="clr-namespace:OnlineVideos"
     mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="800" d:DesignWidth="480">




    <Grid x:Name="LayoutRoot" Background="Black" >
        <!--<Grid.Resources>

        </Grid.Resources>-->

        <Popup x:Name="mypopMessage" Margin="10,220,0,0" >



            <Grid x:Name="gridpopup" Background="#424542" Opacity="1" Height="450" Width="450"  VerticalAlignment="Center">

                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>

                </Grid.RowDefinitions>
                <TextBlock x:Name="tbktitle" Text="Rating" Grid.Row="0" Margin="0,40,0,0"  FontFamily="Segoe WP" FontSize="50" Foreground="{StaticResource PhoneForegroundBrush}" HorizontalAlignment="Center"></TextBlock>
                <StackPanel Grid.Row="1" Orientation="Vertical">
                    <inputtoolkit:StarRatingControl Name="rate"  Margin="0,80,0,0"  NumberOfStars="5" Height="50"  Width="200" ></inputtoolkit:StarRatingControl>
                    <StackPanel Orientation="Horizontal">
                        <Image Name="save" Source="/Images/rating/appbar.check.rest.png" Margin="120,50,0,0" MouseLeftButtonDown="save_MouseLeftButtonDown"></Image>
                        <Image Name="cancel" Source="/Images/rating/appbar.cancel.rest.png" Margin="80,50,0,0" MouseLeftButtonDown="cancel_MouseLeftButtonDown"></Image>
                    </StackPanel>
                </StackPanel>

            </Grid>

        </Popup>
        <toolkit:PerformanceProgressBar
            VerticalAlignment="Top" Foreground="White"
            x:Name="_performanceProgressBar"/>
    </Grid>
</UserControl>
